using System;
using System.Collections.Generic;

namespace CMS_Admin.Backend.Api.Entity
{
    /// <summary>
    /// 文章表
    /// </summary>
    public class Articles:BaseEntity
    {
        //文章标题
        public string ArticleTitle { get; set; }
        //文章内容
        public string Content {get;set;}
        //文章阅读量
        public int ReadNumber {get;set;}
        //文章点赞量
        public int ThumbUpNumber {get;set;}
        //文章分类id
        public int ArticleClassId {get;set;}

        public int ResourceId {get;set;}
        //
    
        public virtual ArticleClass ArticleClass { get; set; }
        public virtual Resource Resource { get; set; }
        public virtual IEnumerable<UserArticles> UserArticles { get; set; }
        
    }
}